from django.conf.urls import re_path

from . import views

urlpatterns = [
    # 活动列表
    re_path(r'^gatherings/$',views.GatheringsView.as_view()),
    # 活动详情
    re_path(r'^gatherings/(?P<pk>\d+)/$',views.GatheringDetailInfomationView.as_view()),
    # 活动报名
    re_path(r'^gatherings/(?P<pk>\d+)/join/$',views.JoinGatheringsView.as_view({"post":'update'})),
]